package com.oa.dao;

import java.util.Date;
import java.util.List;

import com.oa.bean.student.Rewardsp;
import com.oa.bean.student.Says;
import com.oa.bean.student.Student;

public interface StudentDAO {
	
	public Student stuSave(Student stu);	//新增学生
	
	public Student stuUpdate(Student stu);	//修改学生
	
	public void stuDelete(int id);	//删除学生
	
	public List<Student> StuQueryByPage(int pageNo, int pageSize);	//分页查询学生
	
	public void getClose();	//关闭session
	
	public Says saysAdd(Says say);//谈心记录新增
	
	public Says saysUpdate(Says say);//谈心记录修改
	
	public void saysDelete(Says say);//谈心记录删除
	
	public List<Says> saysQueryPagerBySayscon(int page, int pageSize, Says say);//谈心记录 根据谈心主题分页查询
	
	public Rewardsp rewardspAdd(Rewardsp rewardsp);//奖惩添加
	
	public Rewardsp rewardspUpdate(Rewardsp rewardsp);//奖惩修改
	
	public void rewardspDelete(Rewardsp rewardsp);//奖惩删除
	
	public List<Rewardsp> rewardspQueryPagerByObject(int page, int pageSize, Rewardsp rewardsp);//根据奖惩对象分页查询
	
	public List<Rewardsp> rewardspQueryPagerByDate(int page, int pageSize, Date date);//根据奖惩时间分页查询
}
